/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Welcome;

import RMS.EstablishClientID;
import displayManager.DisplayManager;
import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;

/**
 * @author SamSung
 */
public class Start extends MIDlet {

    private DrawChoice draw;
    private Display dis;
    public DisplayManager disManager;

    public Start() {
        draw = new DrawChoice(this);
        dis = Display.getDisplay(this);
        disManager = new DisplayManager(dis, draw);
        EstablishClientID.createRecord();
    }

    public void startApp() {
        dis.setCurrent(draw);
    }

    public void pauseApp() {
    }

    public void destroyApp(boolean unconditional) {
        notifyDestroyed();
    }

    public Display getDis() {
        return dis;
    }
}
